<?php
if ($this->uri->segment(4) == '') {
    $editar = false;
} else {
    $editar = true;
}
$id_objeto = $this->uri->segment(4);
?>
<div id="main-wrapper">
    <div class="container-12">

        <div id="main" class="clearfix">

            <div id="content" class="column grid-8" role="main">
                <div class="section">
                    <h3 class="title" id="page-title"><?php echo $post->get_titulo(); ?></h3>

                    <div class="page-content">
                        <div class="region region-content">
                            <div id="block-system-main" class="block block-system block-even">
                                <div class="block-title">
                                </div>

                                <div class="content">
                                    <article id="node-41" class="node node-blog node-odd published with-comments node-full clearfix">
                                        <header class="node-header">
                                        </header>
                                          
                                        <?php include __DIR__ . DIRECTORY_SEPARATOR . 'components'. DIRECTORY_SEPARATOR . 'detalhes' . DIRECTORY_SEPARATOR . 'conteudo_detalhe.php';
                                                
                                            include __DIR__ . DIRECTORY_SEPARATOR . 'components'. DIRECTORY_SEPARATOR . 'detalhes' . DIRECTORY_SEPARATOR . 'coments.php';
                                        ?>
                                        <!-- /#comments --></article><!-- /.node -->		</div><!-- /.content -->
                            </div><!-- /.block -->  </div>
                    </div>
                </div>
            </div>

            <?php include __DIR__ . DIRECTORY_SEPARATOR . 'components'. DIRECTORY_SEPARATOR . 'aside.php';?>
        </div><!-- /#main -->
    </div>

</div>
<script type="text/javascript">
    jQuery( 'body' ).removeClass( 'front' ).addClass( 'not-front page-node- page-node-41 node-type-blog page-41 section-node' );
    jQuery(document).ready(function(){
       jQuery('#numero_comentarios').html(jQuery('article.comment').length + ' comentário(s)') ;
       // aplicado classe para que o template não coloque width e height auto nas imagens
        var $img = jQuery('#content').find('img');
        if ($img.length > 0) {
            $img.addClass('fixed-size');
        }
    });
    
        

</script>
    
</script>